package model

import "engine/consts"

type CreateAgencyUser struct {
	Email    string              `json:"email" binding:"required" example:"11111@qq.com"`
	Nickname string              `json:"nickname" binding:"required" example:"今晚打老虎"`
	Region   string              `json:"region" example:"1"`
	Mobile   string              `json:"mobile" example:"13213047911"`
	Avatar   string              `json:"avatar" example:"http://www.baidu.com"`
	RoleIds  []uint64            `json:"roleIds"`
	Status   consts.CommonStatus `form:"status"`
}

type QueryAgencyUser struct {
	Status consts.CommonStatus `form:"status"`
	PublicSearchData
}

type UpdateAgencyUser struct {
	Email    string              `json:"email" example:"11111@qq.com"`
	Nickname string              `json:"nickname" example:"今晚打老虎"`
	Region   string              `json:"region" example:"1"`
	Mobile   string              `json:"mobile" example:"13213047911"`
	Avatar   string              `json:"avatar" example:"https://www.baidu.com"`
	Status   consts.CommonStatus `json:"status" example:"active or inactive"`
	RoleIds  []uint64            `json:"roleIds"`
}

//type UpdateMeRequest struct {
//	Nickname string `json:"nickname" example:"今晚打老虎"`
//	Region   string `json:"region" example:"1"`
//	Mobile   string `json:"mobile" example:"13213047911"`
//}

type AgencyUserConfigType string

const (
	AgencyUserConfigTypeCities        AgencyUserConfigType = "cities"
	AgencyUserConfigTypeCountries     AgencyUserConfigType = "countries"
	AgencyUserConfigTypePassengers    AgencyUserConfigType = "passengers"
	AgencyUserConfigTypeDefaultRegion AgencyUserConfigType = "defaultRegion"
)
